package com.robot.myapplication;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

import com.robot.login.login_MainActivity;
import com.robot.person.Personal_MainActivity;

public class MainActivity extends AppCompatActivity {
final String TAG="MainActivity>>>";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        if (BuildConfig.isRelease) {
            Log.d(TAG, "onCreate:当前是：集成化线上环境,以app壳为主导运行的方式 ");
        }else {
            Log.d(TAG, "onCreate:当前是：组件化测试环境,所以的子模块可以独立运行 ");

        }
       String server= BuildConfig.debug;

    }
    //从APP壳跳到登录模块
    public void startLoginModel(View view) {
        startActivity(new Intent(MainActivity.this, login_MainActivity.class));
    }

    public void startPersonalModel(View view) {
        startActivity(new Intent(MainActivity.this, Personal_MainActivity.class));
    }
}